	var curTrend = '';
	var curTrendtd = '';

		function showTrend(o,d,mode){
			var div= document.getElementById(d);
			var obj= document.getElementById(o);
			div.style.display = mode?"block":"none";
		}

		function showTrendtd(obj,div){
			if((curTrend != div) && (curTrendtd != obj)) {
				if((curTrend != '') && (curTrendtd != '')){
					showTrend(curTrendtd,curTrend,false);
				}
				curTrend = div;
				curTrendtd = obj;
				showTrend(curTrendtd,curTrend,true);
			}
		}
